<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The HaruDoc class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.haruexception.html">HaruException</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harudoc.addpage.html">HaruDoc::addPage</a></div>
 <div class="up"><a href="book.haru.html">haru</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.harudoc" class="reference">
 <h1 class="title">The HaruDoc class</h1>
 
 
 <div class="partintro"><p class="verinfo">(PECL haru &gt;= 0.0.1)</p>
 

  <div class="section" id="harudoc.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Haru PDF Document Class.
   </p>
  </div>

 
  <div class="section" id="harudoc.synopsis">
   <h2 class="title">类摘要</h2>
 

   <div class="classsynopsis">
    <div class="ooclass"></div>
 

    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">HaruDoc</strong>
     </span>
 
     {</div>

 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.addpage.html" class="methodname">addPage</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.addpagelabel.html" class="methodname">addPageLabel</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$first_page</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$style</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$first_num</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$prefix</code><span class="initializer"> = &quot;&quot;</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="methodname"><a href="harudoc.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.createoutline.html" class="methodname">createOutline</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$title</code></span>
   [, <span class="methodparam"><span class="type">object</span> <code class="parameter">$parent_outline</code></span>
   [, <span class="methodparam"><span class="type">object</span> <code class="parameter">$encoder</code></span>
  ]] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.getcurrentencoder.html" class="methodname">getCurrentEncoder</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.getcurrentpage.html" class="methodname">getCurrentPage</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.getencoder.html" class="methodname">getEncoder</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$encoding</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.getfont.html" class="methodname">getFont</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$fontname</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$encoding</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span><span class="methodname"><a href="harudoc.getinfoattr.html" class="methodname">getInfoAttr</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$type</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span><span class="methodname"><a href="harudoc.getpagelayout.html" class="methodname">getPageLayout</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span><span class="methodname"><a href="harudoc.getpagemode.html" class="methodname">getPageMode</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span><span class="methodname"><a href="harudoc.getstreamsize.html" class="methodname">getStreamSize</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.insertpage.html" class="methodname">insertPage</a></span>
    ( <span class="methodparam"><span class="type">object</span> <code class="parameter">$page</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.loadjpeg.html" class="methodname">loadJPEG</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.loadpng.html" class="methodname">loadPNG</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$deferred</code><span class="initializer"> = false</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">object</span><span class="methodname"><a href="harudoc.loadraw.html" class="methodname">loadRaw</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$width</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$height</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$color_space</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span><span class="methodname"><a href="harudoc.loadttc.html" class="methodname">loadTTC</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$fontfile</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$index</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$embed</code><span class="initializer"> = false</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span><span class="methodname"><a href="harudoc.loadttf.html" class="methodname">loadTTF</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$fontfile</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$embed</code><span class="initializer"> = false</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span><span class="methodname"><a href="harudoc.loadtype1.html" class="methodname">loadType1</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$afmfile</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$pfmfile</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.output.html" class="methodname">output</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span><span class="methodname"><a href="harudoc.readfromstream.html" class="methodname">readFromStream</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$bytes</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.reseterror.html" class="methodname">resetError</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.resetstream.html" class="methodname">resetStream</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.save.html" class="methodname">save</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$file</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.savetostream.html" class="methodname">saveToStream</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setcompressionmode.html" class="methodname">setCompressionMode</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$mode</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setcurrentencoder.html" class="methodname">setCurrentEncoder</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$encoding</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setencryptionmode.html" class="methodname">setEncryptionMode</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$mode</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$key_len</code><span class="initializer"> = 5</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setinfoattr.html" class="methodname">setInfoAttr</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$type</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$info</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setinfodateattr.html" class="methodname">setInfoDateAttr</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$type</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$year</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$month</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$day</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$hour</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$min</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$sec</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$ind</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$off_hour</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$off_min</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setopenaction.html" class="methodname">setOpenAction</a></span>
    ( <span class="methodparam"><span class="type">object</span> <code class="parameter">$destination</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setpagelayout.html" class="methodname">setPageLayout</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$layout</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setpagemode.html" class="methodname">setPageMode</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$mode</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setpagesconfiguration.html" class="methodname">setPagesConfiguration</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$page_per_pages</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setpassword.html" class="methodname">setPassword</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$owner_password</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$user_password</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.setpermission.html" class="methodname">setPermission</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$permission</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.usecnsencodings.html" class="methodname">useCNSEncodings</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.usecnsfonts.html" class="methodname">useCNSFonts</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.usecntencodings.html" class="methodname">useCNTEncodings</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.usecntfonts.html" class="methodname">useCNTFonts</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.usejpencodings.html" class="methodname">useJPEncodings</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.usejpfonts.html" class="methodname">useJPFonts</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.usekrencodings.html" class="methodname">useKREncodings</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">bool</span><span class="methodname"><a href="harudoc.usekrfonts.html" class="methodname">useKRFonts</a></span>
    ( <span class="methodparam">void</span>
   )</div>

   }</div>

  </div>
  <div class="section" id="haru.harudoc.constants">
   <h2 class="title">预定义常量</h2>
   <table class="doctable table">
    
    
     <thead>
      <tr>
       <th>Type</th>
       <th>Name</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>int</td>
       <td>HaruDoc::CS_DEVICE_GRAY</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_DEVICE_RGB</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_DEVICE_CMYK</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_CAL_GRAY</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_CAL_RGB</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_LAB</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_ICC_BASED</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_SEPARATION</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_DEVICE_N</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_INDEXED</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::CS_PATTERN</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::ENABLE_READ</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::ENABLE_PRINT</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::ENABLE_EDIT_ALL</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::ENABLE_COPY</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::ENABLE_EDIT</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::ENCRYPT_R2</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::ENCRYPT_R3</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::INFO_AUTHOR</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::INFO_CREATOR</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::INFO_TITLE</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::INFO_SUBJECT</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::INFO_KEYWORDS</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::INFO_CREATION_DATE</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::INFO_MOD_DATE</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::COMP_NONE</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::COMP_TEXT</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::COMP_IMAGE</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::COMP_METADATA</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::COMP_ALL</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::PAGE_LAYOUT_SINGLE</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::PAGE_LAYOUT_ONE_COLUMN</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::PAGE_LAYOUT_TWO_COLUMN_LEFT</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::PAGE_LAYOUT_TWO_COLUMN_RIGHT</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::PAGE_MODE_USE_NONE</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::PAGE_MODE_USE_OUTLINE</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::PAGE_MODE_USE_THUMBS</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td>int</td>
       <td>HaruDoc::PAGE_MODE_FULL_SCREEN</td>
       <td class="empty">&nbsp;</td>
      </tr>

     </tbody>
    
   </table>

  </div>
 </div>
 
 








































































































































































































































































 
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="harudoc.addpage.html">HaruDoc::addPage</a> — Add new page to the document</li><li><a href="harudoc.addpagelabel.html">HaruDoc::addPageLabel</a> — Set the numbering style for the specified range of pages</li><li><a href="harudoc.construct.html">HaruDoc::__construct</a> — Construct new HaruDoc instance</li><li><a href="harudoc.createoutline.html">HaruDoc::createOutline</a> — Create a HaruOutline instance</li><li><a href="harudoc.getcurrentencoder.html">HaruDoc::getCurrentEncoder</a> — Get HaruEncoder currently used in the document</li><li><a href="harudoc.getcurrentpage.html">HaruDoc::getCurrentPage</a> — Return current page of the document</li><li><a href="harudoc.getencoder.html">HaruDoc::getEncoder</a> — Get HaruEncoder instance for the specified encoding</li><li><a href="harudoc.getfont.html">HaruDoc::getFont</a> — Get HaruFont instance</li><li><a href="harudoc.getinfoattr.html">HaruDoc::getInfoAttr</a> — Get current value of the specified document attribute</li><li><a href="harudoc.getpagelayout.html">HaruDoc::getPageLayout</a> — Get current page layout</li><li><a href="harudoc.getpagemode.html">HaruDoc::getPageMode</a> — Get current page mode</li><li><a href="harudoc.getstreamsize.html">HaruDoc::getStreamSize</a> — Get the size of the temporary stream</li><li><a href="harudoc.insertpage.html">HaruDoc::insertPage</a> — Insert new page just before the specified page</li><li><a href="harudoc.loadjpeg.html">HaruDoc::loadJPEG</a> — Load a JPEG image</li><li><a href="harudoc.loadpng.html">HaruDoc::loadPNG</a> — Load PNG image and return HaruImage instance</li><li><a href="harudoc.loadraw.html">HaruDoc::loadRaw</a> — Load a RAW image</li><li><a href="harudoc.loadttc.html">HaruDoc::loadTTC</a> — Load the font with the specified index from TTC file</li><li><a href="harudoc.loadttf.html">HaruDoc::loadTTF</a> — Load TTF font file</li><li><a href="harudoc.loadtype1.html">HaruDoc::loadType1</a> — Load Type1 font</li><li><a href="harudoc.output.html">HaruDoc::output</a> — Write the document data to the output buffer</li><li><a href="harudoc.readfromstream.html">HaruDoc::readFromStream</a> — Read data from the temporary stream</li><li><a href="harudoc.reseterror.html">HaruDoc::resetError</a> — Reset error state of the document handle</li><li><a href="harudoc.resetstream.html">HaruDoc::resetStream</a> — Rewind the temporary stream</li><li><a href="harudoc.save.html">HaruDoc::save</a> — Save the document into the specified file</li><li><a href="harudoc.savetostream.html">HaruDoc::saveToStream</a> — Save the document into a temporary stream</li><li><a href="harudoc.setcompressionmode.html">HaruDoc::setCompressionMode</a> — Set compression mode for the document</li><li><a href="harudoc.setcurrentencoder.html">HaruDoc::setCurrentEncoder</a> — Set the current encoder for the document</li><li><a href="harudoc.setencryptionmode.html">HaruDoc::setEncryptionMode</a> — Set encryption mode for the document</li><li><a href="harudoc.setinfoattr.html">HaruDoc::setInfoAttr</a> — Set the info attribute of the document</li><li><a href="harudoc.setinfodateattr.html">HaruDoc::setInfoDateAttr</a> — Set the datetime info attributes of the document</li><li><a href="harudoc.setopenaction.html">HaruDoc::setOpenAction</a> — Define which page is shown when the document is opened</li><li><a href="harudoc.setpagelayout.html">HaruDoc::setPageLayout</a> — Set how pages should be displayed</li><li><a href="harudoc.setpagemode.html">HaruDoc::setPageMode</a> — Set how the document should be displayed</li><li><a href="harudoc.setpagesconfiguration.html">HaruDoc::setPagesConfiguration</a> — Set the number of pages per set of pages</li><li><a href="harudoc.setpassword.html">HaruDoc::setPassword</a> — Set owner and user passwords for the document</li><li><a href="harudoc.setpermission.html">HaruDoc::setPermission</a> — Set permissions for the document</li><li><a href="harudoc.usecnsencodings.html">HaruDoc::useCNSEncodings</a> — Enable Chinese simplified encodings</li><li><a href="harudoc.usecnsfonts.html">HaruDoc::useCNSFonts</a> — Enable builtin Chinese simplified fonts</li><li><a href="harudoc.usecntencodings.html">HaruDoc::useCNTEncodings</a> — Enable Chinese traditional encodings</li><li><a href="harudoc.usecntfonts.html">HaruDoc::useCNTFonts</a> — Enable builtin Chinese traditional fonts</li><li><a href="harudoc.usejpencodings.html">HaruDoc::useJPEncodings</a> — Enable Japanese encodings</li><li><a href="harudoc.usejpfonts.html">HaruDoc::useJPFonts</a> — Enable builtin Japanese fonts</li><li><a href="harudoc.usekrencodings.html">HaruDoc::useKREncodings</a> — Enable Korean encodings</li><li><a href="harudoc.usekrfonts.html">HaruDoc::useKRFonts</a> — Enable builtin Korean fonts</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.haruexception.html">HaruException</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harudoc.addpage.html">HaruDoc::addPage</a></div>
 <div class="up"><a href="book.haru.html">haru</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
